package com.RPC0.client;

/**
 * Author: <黄书根>
 * Time: 2017-07-31 14:01
 * Copyright (C) 2017 Xiamen Yaxon Networks CO.,LTD.
 */
public class RpcResponse {
    private String requestId;
    private Throwable error;
    private Object result;

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Throwable getError() {
        return error;
    }

    public void setError(Throwable error) {
        this.error = error;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public boolean isError() {
        return false;
    }
}
